-- GENERATED SPELL FOR [Chromie] --


function spell0_10667(pUnit, Event) --@Enchant Annals of Darrowshire,Self--
pUnit:FullCastSpellOnTarget(17285,pUnit)
pUnit:RegisterEvent('Sorts_10667', 3500, 1)
end

function Sorts_10667(pUnit, Event)
local choix_sorts_10667 = math.random(0, 0)
if choix_sorts_10667 == 0 then
pUnit:RegisterEvent('spell0_10667', 1, 1)
end
end

function mob10667_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10667', math.random(1500, 3000), 1)
end

function mob10667_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10667_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10667_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10667, 1, 'mob10667_Action')
RegisterUnitEvent(10667, 2, 'mob10667_Leave')
RegisterUnitEvent(10667, 3, 'mob10667_Kill')
RegisterUnitEvent(10667, 4, 'mob10667_Die')
